<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
    />
    <meta name="description" content="Web site created using create-react-app" />
    <meta name="theme-color" content="#000000" />
    <link rel="stylesheet" href="./reset.css" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="龙华区水文化游览路线地图" />
    <meta property="og:description" content="探寻水文化，领略城之美" />
    <meta property="og:image" content="https://lhswj.gitee.io/water-culture/logo.jpeg" />
    <meta property="og:url" content="https://lhswj.gitee.io/water-culture" />
    <title>龙华区水文化游览路线地图</title>
    <meta name="description" content="探寻水文化，领略城之美" />
    <% htmlWebpackPlugin.options.cdn.css.forEach(cdnUrl=> { %>
    <link rel="stylesheet" href="<%= cdnUrl %>" />
    <% }) %>
    <script src="https://code.createjs.com/1.0.0/soundjs.min.js"></script>
    <% htmlWebpackPlugin.options.cdn.js.forEach(cdnUrl=> { %>
    <script type="text/javascript" src="<%= cdnUrl %>"></script>
    <% }) %>
  </head>

  <body>
    <div style="display: none">
      <img src="%PUBLIC_URL%/logo.jpeg" alt="logo" />
    </div>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="app"></div>
  </body>
  <script>
    var instance = null
    document.addEventListener(
      'WeixinJSBridgeReady',
      function () {
        createjs.Sound.alternateExtensions = ['mp3']
        createjs.Sound.on('fileload', loadHandler, this)
        createjs.Sound.registerSound(
          'https://sharefs.ali.kugou.com/202304191502/25f98244a321c3a13d2caa61532731e9/v2/f5d28a1de08588fd4400ce76697ce79c/G129/M06/00/07/IYcBAFpeqrWAbM0DABWnB-0kDNU821.mp3',
          'sound',
        )

        function loadHandler(event) {
          instance = createjs.Sound.play('sound', { loop: -1 })
        }
      },
      false,
    )
  </script>
</html>
